package com.situ.shopsystem.controller;

import java.io.Serializable;

import javax.swing.plaf.LayerUI;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.situ.shopsystem.pojo.LayuiResult;
import com.situ.shopsystem.pojo.User;
import com.situ.shopsystem.service.UserService;

/** 
 * /manager/user/doLogin
 *   /manager/goToIndex
 *   manager/login
 *   
 *  
 *  
 */ 
@Controller
@RequestMapping("/manager/")
public class IndexManagerController implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	@RequestMapping("showIndex")
	public String goIndex() {
		return "manager/index";
	}
	@RequestMapping("goToIndex")
	public String goToIndex() {
		return "manager/user/user_index";
	}

    //登录页面
	@RequestMapping("login")
	public String goLogin() {
		return "manager/login";
	}

}
